package cn.edu.scau.cmi.tangqingning.model;

/**
 * 管理员类
 * @author 刘岳鑫
 */
public class User {
	private String username;// 用户名
	private String password;// 密码

	/**
	 * 构造方法
	 */
	public User() {

	}

	/**
	 * 构造方法
	 * 
	 * @param username String
	 * @param password String
	 */
	public User(String username, String password) {
		this.username = username;
		this.password = password;
	}

	/**
	 * 得到username 
	 * 
	 * @return username
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * 设置 username
	 * 
	 * @param username String
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * 得到password
	 * 
	 * @return password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * 设置password
	 * 
	 * @param password String
	 */
	public void setPassword(String password) {
		this.password = password;
	}

}
